// pages/Yuebao/Yuebao.js
Page({
  slider: [],
  /**
   * 页面的初始数据
   */
  data: {
    

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var that = this;
    wx.request({
      url: 'https://wxapp.shuhai.cc/hh/new_messageListyuepao.action',
      method: 'post',
      header: {
        'content-type': 'application/x-www-form-urlencoded'
      },
      success: function (res) {
        console.log(res);
        that.setData({
          slider: res.data.data
        })
      },
    })
  },

  handSeir(e) {
    var thar = this;
    var imps = e.currentTarget.dataset.key;
    wx.navigateTo({
      url: "/pages/wxsm/wxsm?id=" + imps
      // url : '/pages/category/category?id=' + imps,
    })

  
    },


    

 
})